import Game from './core/Game';

// 强制横屏
window.onload = function () {
    if(window.orientation==180||window.orientation==0) {
        (document as any).body.style.width = window.innerHeight;
        (document as any).body.style.height = window.innerWidth;
        (document as any).body.style.transform = 'rotate(90deg)';
    } else{
        (document as any).body.style.transform = 'rotate(0)';
    }
}

new Game();
